import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// import './style.css'
import "./assets/style/index.css"
import App from './App.vue'
import router from "./router/index"
import 'swiper/dist/css/swiper.min.css'
import 'swiper/dist/js/swiper.min'
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
// import '../public/vue-ueditor/ueditor.config.js'
// import '../public/vue-ueditor/ueditor.all.min.js'
// import '../public/vue-ueditor/lang/zh-cn/zh-cn.js'
// import '../public/vue-ueditor/ueditor.parse.min.js'
// import 'bootstrap/dist/css/bootstrap.css'
import VueCookies from "vue-cookies";
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import  QuillEditor from '../src/components/Editor/index.vue'
// 1引入pinia
import { createPinia } from 'pinia'
// 2执行方法得到实例子
const pinia = createPinia()
// 3把pinia实例加入到app应用中


import $ from "jquery"
window.$ = $;


const app = createApp(App);
app.component("QuillEditor",QuillEditor)
app.use(VueQuillEditor);
app.use(pinia)
app.use(ElementPlus)
app.use(VueCookies)
app.use(router)
app.use(VueQuillEditor);
app.mount('#app')
app.config.globalProperties.$cookies = VueCookies

